Location in SDK: SDK\Samples\Classic ASP\Order Sitelet
The primary goal of the Order Sitelet is to demonstrate how to allow users to create an order, as well as how to confirm and view the status of that order.
The Order Sitelet consists of a package file, which you unpack using Commerce Server Site Packager. The source code for the sitelet is included in this package. No modification of the source code is required to deploy the Order Sitelet to a server running Commerce Server 2002.
Best coding practices are maintained in this sample, and the code represents the prescribed method of using the object model.
ASP-Based Order Sitelet Code Notes
Installing the ASP-Based Order Sitelet
This sitelet demonstrates multilingual functionality. The following languages are supported: English, French, German, and Japanese. The ASP sitelets set the language character sets in the Main routine of several ASP pages using code such as the following:
Sub Main()
Set g_ojbMsgMgr = Application ("MSCSMessageManager")
Response.CharSet = "iso-8859-1"
End Sub
Notes
You unpack the Order Sitelet using Commerce Server Site Packager. The package file for the ASP version of the Order Sitelet is located in the following directory:
<drive>:\Program Files\Microsoft Commerce Server 2002\SDK\Samples\Classic ASP\Order Sitelet\SDK-ORDER-SITELET.PUP
Use the following procedure to install the Order Sitelet on one computer using the Quick mode in Site Packager.
Unpacking the ASP-based Order Sitelet using the Custom unpack option and creating independent databases for each of the site resources is not recommended.